package com.yer.note.entity;

import com.orm.SugarRecord;
import com.orm.dsl.Table;

import java.io.Serializable;

@Table
public class Diary extends SugarRecord implements Serializable {
    String context;
    String weather;
    String label;
    String location;
    String time;
    String diaryuuid;
    String useruuid;

    public String getdiaryuuid() {
        return diaryuuid;
    }

    public String getUseruuid() {
        return useruuid;
    }

    public void setUseruuid(String useruuid) {
        this.useruuid = useruuid;
    }


    public void setdiaryuuid(String uuid) {
        this.diaryuuid = uuid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Diary() {
    }

    public Diary(String context, String weather, String label, String location, String time, String diaryuuid, String useruuid) {
        this.context = context;
        this.weather = weather;
        this.label = label;
        this.location = location;
        this.time = time;
        this.diaryuuid = diaryuuid;
        this.useruuid = useruuid;
    }

    @Override
    public String toString() {
        return "Diary{" +
                "context='" + context + '\'' +
                ", weather='" + weather + '\'' +
                ", label='" + label + '\'' +
                ", location='" + location + '\'' +
                ", time='" + time + '\'' +
                ", myuuid='" + diaryuuid + '\'' +
                ", useruuid='" + useruuid + '\'' +
                '}';
    }
}
